package com.mz.ozy.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.mz.ozy.R;
import com.mz.ozy.bean.NewMyExtendBean;

import java.util.List;

/**
 *
 */

public class MyExtendListAdapter extends BaseQuickAdapter<NewMyExtendBean.PageDTO.PageItemsDTO, BaseViewHolder> {

    public MyExtendListAdapter(List<NewMyExtendBean.PageDTO.PageItemsDTO> data) {
        super(R.layout.item_my_extend_list, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, NewMyExtendBean.PageDTO.PageItemsDTO item) {

        helper.setText(R.id.tv_operate_name, item.name);

    }
}
